import request from '@/utils/request'


//动态查询
export function getAppintment(data,pageNum,pageSize) {
  return request({
    url: '/admin/getAppintment',
    method: 'post',
    data,
    params:{
      pageSize,
      pageNum
    }
  })
}
//修改信息
export function editAppintmentById(data) {
  return request({
    url: '/admin/editAppintmentById',
    method: 'post',
    data
  })
}
//批量删除
export function deleteAllAppintmentById(ids) {
  return request({
    url: '/admin/deleteAllAppintmentById',
    method: 'get',
    params: {
      ids:ids
    }
  })
}
//删除信息
export function deleteAppintmentById(data) {
  return request({
    url: '/admin/deleteAppintmentById',
    method: 'post',
    data
  })
}





